<?php
namespace Index\Controller;
use Think\Controller;
class ThemeController extends Controller {
    public function listAction(){ 
    	$sql="select * from theme";
    	$data_m=M();
    	$theme_res=$data_m->query($sql);
    	// var_dump($theme_res);
    	// exit();
    	$this->assign('theme_res',$theme_res);
    	$this->display();
     }
}
?>